/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-02 15:33:36
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-02 15:51:49
 */

import java.util.Scanner;

public class Test02{
    public static void main(String[] args){
        //  int keys = 0;
        // switch(keys){
        //     case 0:
        //     System.out.println("如果i==0");
        //     break;
        //     case 1:
        //     System.out.println("如果i==1");
        //     break;
        //     default:
        //     System.out.println("上面条件都不满足");
        //     break;


        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入0-6中的一个数字:");
        int day = scanner.nextInt();
        switch(day){
            case 0:
            System.out.println("星期日");
            break;
            case 1:
            System.out.println("星期一");
            break;
            case 2:
            System.out.println("星期二");
            break;
            case 3:
            System.out.println("星期三");
            break;
            case 4:
            System.out.println("星期四");
            break;
            case 5:
            System.out.println("星期五");
            break;
            case 6:
            System.out.println("星期六");
            break;
            default:
            System.out.println("错误输入");
            break;


            
        }


    }
}

